<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Insert title here</title>
</h:head>
<h:body>
	<h:form>
		<h:commandButton value=" Voltar" action="index" />
		<h:panelGrid columns="2">
			<h:outputLabel value="Id:" />
			<h:outputLabel value="#{convenioMBean.convenio.id}" />
			<h:outputLabel value="Modalidade:" />
			<h:outputLabel value="#{convenioMBean.convenio.modalidade}" />
			<h:outputLabel value="Código orgão concedente:" />
			<h:outputLabel value="#{convenioMBean.convenio.codOrgaoConcedente}" />
			<h:outputLabel value="Justificativa resumida:" />
			<h:outputLabel
				value="#{convenioMBean.convenio.justivicativaResumida}" />
			<h:outputLabel value="Objeto resumido:" />
			<h:outputLabel value="#{convenioMBean.convenio.objetoResumido}" />
			<h:outputLabel value="Data início vigência:" />
			<h:outputLabel value="#{convenioMBean.convenio.dataInicioVigencia}">
				<f:convertDateTime pattern="dd/MM/yyyy" />
			</h:outputLabel>
			<h:outputLabel value="Data fim vigência:" />
			<h:outputLabel value="#{convenioMBean.convenio.dataFimVigencia}">
				<f:convertDateTime pattern="dd/MM/yyyy" />
			</h:outputLabel>
			<h:outputLabel value="Valor global:" />
			<h:outputLabel value="#{convenioMBean.convenio.valorGlobal}">
				<f:convertNumber locale="pt-BR" type="currency" />
			</h:outputLabel>
			<h:outputLabel value="Valor repasse:" />
			<h:outputLabel value="#{convenioMBean.convenio.valorRepasse}">
				<f:convertNumber locale="pt-BR" type="currency" />
			</h:outputLabel>
			<h:outputLabel value="Valor contra-partida:" />
			<h:outputLabel value="#{convenioMBean.convenio.valorContraPartida}">
				<f:convertNumber locale="pt-BR" type="currency" />
			</h:outputLabel>
			<h:outputLabel value="Data assinatura:" />
			<h:outputLabel value="#{convenioMBean.convenio.dataAssinatura}">
				<f:convertDateTime pattern="dd/MM/yyyy" />
			</h:outputLabel>
			<h:outputLabel value="Data publicação:" />
			<h:outputLabel value="#{convenioMBean.convenio.dataPublicacao}">
				<f:convertDateTime pattern="dd/MM/yyyy" />
			</h:outputLabel>
			<h:outputLabel value="Situação:" />
			<h:outputLabel value="#{convenioMBean.convenio.situacao}" />
			
			<h:outputLabel value="Proponente:" />
			<h:outputLabel value="#{convenioMBean.convenio.proponente}" />
			
		</h:panelGrid>
		
		<h:commandButton actionListener="#{convenioMBean.guardarNaBase}" value="Salvar"></h:commandButton>


	</h:form>
</h:body>
</html>